package com.cqc.web;

import com.cqc.vo.UserVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.context.request.RequestContextHolder;
import org.springframework.web.context.request.ServletRequestAttributes;

import javax.servlet.http.HttpServletRequest;

@RestController
public class HelloController {

    /**
     * http://localhost:8080/f1
     */
    @GetMapping("f1")
    public String f1(UserVO userVO) {
        return "哈哈";
    }

}
